import React, { Component } from 'react';

export default class Wife extends Component {
  render() {
    return (
      <div style={{ padding: '10px', border: '10px solid #ccc' }}>
        <div>wife 读取 家庭存款 - {this.props.money}</div>
        <button
          onClick={() => {
            this.props.handleCostMoney(-2000);
          }}
        >
          老婆开始花钱
        </button>
      </div>
    );
  }
}
